namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 设备 - 硫化机左右模
    /// </summary>
    public DbSet<PORcsEquipCuring> RcsEquipCurings { get; set; }
}

/// <summary>
/// 设备 - 硫化机左右模
/// 表[rcs_equip_curing]
/// </summary>
[Table("rcs_equip_curing")]
public class PORcsEquipCuring
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[rcs_equip_curing.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// [rcs_equip_curing.curing_code)]
    /// </summary>
    [Column("curing_code")]
    public string CuringCode { get; set; }
    /// <summary>
    /// [rcs_equip_curing.curing_dir)]
    /// </summary>
    [Column("curing_dir")]
    public string CuringDir { get; set; }
    /// <summary>
    /// [rcs_equip_curing.curing_mode_index)]
    /// </summary>
    [Column("curing_mode_index")]
    public int? CuringModeIndex { get; set; }
    /// <summary>
    /// 1:(1号右模；2号左模)；2:(1号左模；2号右模)
    /// [rcs_equip_curing.curing_sign)]
    /// </summary>
    [Column("curing_sign")]
    public int? CuringSign { get; set; }
    /// <summary>
    /// 硫化排 ID
    /// [rcs_equip_curing.ditch_id)]
    /// </summary>
    [Column("ditch_id")]
    public long? DitchId { get; set; }
    /// <summary>
    /// 单胎默认小车；异常时 全程执行；双车任务；
    /// [rcs_equip_curing.ems_id)]
    /// </summary>
    [Column("ems_id")]
    public long? EmsId { get; set; }
    /// <summary>
    /// ems_id 损坏替换车【维护值】；双胎任务【维护值】； 【
    /// [rcs_equip_curing.ems_id2)]
    /// </summary>
    [Column("ems_id2")]
    public long? EmsId2 { get; set; }
    /// <summary>
    /// 0:正常（默认值）；1:暂停(已有请料正常执行)；2:停止(
    /// [rcs_equip_curing.curing_status)]
    /// </summary>
    [Column("curing_status")]
    public int? CuringStatus { get; set; }
    /// <summary>
    /// 0: 双车（ems_id 默认小车 先取胎）；1：强制单车；
    /// [rcs_equip_curing.single_sign)]
    /// </summary>
    [Column("single_sign")]
    public int? SingleSign { get; set; }
    /// <summary>
    /// 0、Mes 中间表请料；1、硫化机清料信号；2、硫化机清料流
    /// [rcs_equip_curing.is_curing_call)]
    /// </summary>
    [Column("is_curing_call")]
    public int? IsCuringCall { get; set; }
    /// <summary>
    /// 硫化机请料，上次流水号
    /// [rcs_equip_curing.curing_call_no)]
    /// </summary>
    [Column("curing_call_no")]
    public int? CuringCallNo { get; set; }
    /// <summary>
    /// 硫化机请料，上次请料时间
    /// [rcs_equip_curing.last_curing_call_time)]
    /// </summary>
    [Column("last_curing_call_time")]
    public DateTime? LastCuringCallTime { get; set; }
    /// <summary>
    /// 创建时间
    /// [rcs_equip_curing.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [rcs_equip_curing.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [rcs_equip_curing.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 备注 记录请料失败原因
    /// [rcs_equip_curing.remark)]
    /// </summary>
    [Column("remark")]
    public string Remark { get; set; }
    /// <summary>
    /// [rcs_equip_curing.loc_id)]
    /// </summary>
    [Column("loc_id")]
    public long? LocId { get; set; }
    /// <summary>
    /// 硫化模编号
    /// [rcs_equip_curing.curing_mode_code)]
    /// </summary>
    [Column("curing_mode_code")]
    public string CuringModeCode { get; set; }

    /// <summary>
    /// 送达时间
    /// [rcs_equip_curing.send_time)]
    /// </summary>
    [Column("send_time")]
    public DateTime? SendTime { get; set; }
    /// <summary>
    /// 南：S ；北: N
    /// [rcs_equip_curing.direction)]
    /// </summary>
    [Column("direction")]
    public string Direction { get; set; }


}
